#pragma once
#include "lbprojectplanplug_global.h"
#include "VCRefPtr.h"
#include "ProjectPlan/PPContext.h"


#define LBPROJ_TASK_EDITOR u8"LBPROJ_TASK_EDITOR"

namespace LBPROJGUI
{
    class CGanttChartWidget;
}

namespace LBPROJLOGIC
{
    class ITaskEditor : public IBaseObject
    {
    public:
        virtual ~ITaskEditor() { }

    public:
        virtual void ConnectWidget(LBPROJGUI::CGanttChartWidget* pWidget) = 0;
		virtual CRefPtr<LBPROJ::IPPContext> GetContext() const = 0;

    protected:
        ITaskEditor() {}
    };

	LBPROJECTPLANPLUG_EXPORT CRefPtr<ITaskEditor> CreateTaskEditor();
}


